import requests from "@/api/request";
import mockAjax from "@/api/mockAjax";

export const reqCategoryList = () =>  requests.get('/product/getBaseCategoryList')

export const reqBannerList = () =>  mockAjax.get('/banner')


export const reqGoodsDetail = (skuId) => requests.get(`/goods/detail/${skuId}`)

export const reqFloorList = () =>  mockAjax.get('/floor')


// search
export const reqGetSearchInfoList = (params) =>  requests({
    url: '/search/getSearchInfoList',
    method: 'post',
    data:params
})